package InterfaceDemo;

public class PingPongAthlete extends Athlete implements SpeakEnglish{
    public PingPongAthlete() {
    }

    public PingPongAthlete(int age, String name) {
        super(age, name);
    }
    @Override
    public void work(){
        System.out.println("乒乓球运动员学乒乓球");
    }
    @Override
    public void speak(){
        System.out.println("乒乓球运动员说英语");
    }
}
